package cn.iocoder.yudao.module.agent.dal.dataobject.brokeragewithdrawrecord;

import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.*;
import cn.iocoder.yudao.framework.mybatis.core.dataobject.BaseDO;

/**
 * 代理人佣金提现记录 DO
 *
 * @author 曹建伟
 */
@TableName("agent_brokerage_withdraw_record")
@KeySequence("agent_brokerage_withdraw_record_seq") // 用于 Oracle、PostgreSQL、Kingbase、DB2、H2 数据库的主键自增。如果是 MySQL 等数据库，可不写。
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class AgentBrokerageWithdrawRecordDO extends BaseDO {

    /**
     * 编号
     */
    @TableId
    private Long id;
    /**
     * 代理人会员编号
     */
    private Long userId;
    /**
     * 金额
     */
    private Integer price;
    /**
     * 手续费
     */
    private Integer feePrice;
    /**
     * 当前剩余佣金
     */
    private Integer leftBrokerage;
    /**
     * 0:审核中 1:审核通过 2:审核不通过 3:提现成功
     *
     * 枚举 {@link TODO agent_brokerage_withdraw_status 对应的类}
     */
    private Integer status;
    /**
     * 审核驳回原因
     */
    private String auditReason;
    /**
     * 审核时间
     */
    private LocalDateTime auditTime;

}
